<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCAD::FileBuffer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceShipCAD.html">ShipCAD</a></li><li class="navelem"><a class="el" href="classShipCAD_1_1FileBuffer.html">FileBuffer</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classShipCAD_1_1FileBuffer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ShipCAD::FileBuffer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>in-memory buffer for a binary file (FREE!Ship format)  
 <a href="classShipCAD_1_1FileBuffer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="filebuffer_8h_source.html">filebuffer.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ShipCAD::FileBuffer:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classShipCAD_1_1FileBuffer.png" usemap="#ShipCAD::FileBuffer_map" alt=""/>
  <map id="ShipCAD::FileBuffer_map" name="ShipCAD::FileBuffer_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab243cfcb8a68ce791103594e974ee9ba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#ab243cfcb8a68ce791103594e974ee9ba">FileBuffer</a> ()</td></tr>
<tr class="separator:ab243cfcb8a68ce791103594e974ee9ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a397c9a755598f9939eb30460b605d44c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a397c9a755598f9939eb30460b605d44c">~FileBuffer</a> ()</td></tr>
<tr class="separator:a397c9a755598f9939eb30460b605d44c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51dc1007457d999ce374afd6a6ae29f8"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a51dc1007457d999ce374afd6a6ae29f8">size</a> ()</td></tr>
<tr class="separator:a51dc1007457d999ce374afd6a6ae29f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7feeac3f68df96065a3238cbca9a5151"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a7feeac3f68df96065a3238cbca9a5151">pos</a> ()</td></tr>
<tr class="separator:a7feeac3f68df96065a3238cbca9a5151"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06f87b30f5fd091cc5c270964ea16770"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceShipCAD.html#af3a6fa23a7318acbda7b0066b53d694f">version_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a06f87b30f5fd091cc5c270964ea16770">getVersion</a> ()</td></tr>
<tr class="separator:a06f87b30f5fd091cc5c270964ea16770"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66c14f8f21b9f77febd154aee9565f0b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a66c14f8f21b9f77febd154aee9565f0b">setVersion</a> (<a class="el" href="namespaceShipCAD.html#af3a6fa23a7318acbda7b0066b53d694f">version_t</a> v)</td></tr>
<tr class="separator:a66c14f8f21b9f77febd154aee9565f0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe2a6e56770eed6bf9df894baa28c9fe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#afe2a6e56770eed6bf9df894baa28c9fe">loadFromFile</a> (QFile &amp;file)</td></tr>
<tr class="separator:afe2a6e56770eed6bf9df894baa28c9fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcc7e54a07f39ad930df82da9c3c70fd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#adcc7e54a07f39ad930df82da9c3c70fd">saveToFile</a> (QFile &amp;file)</td></tr>
<tr class="separator:adcc7e54a07f39ad930df82da9c3c70fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af59c26297994b38aabc4bc678d04c246"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#af59c26297994b38aabc4bc678d04c246">reset</a> ()</td></tr>
<tr class="separator:af59c26297994b38aabc4bc678d04c246"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86223c54bcf111ef205c9d651e0b9a66"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a86223c54bcf111ef205c9d651e0b9a66">load</a> (<a class="el" href="structShipCAD_1_1JPEGImage.html">JPEGImage</a> &amp;img)</td></tr>
<tr class="separator:a86223c54bcf111ef205c9d651e0b9a66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a5d46b2c6d568ee2cdef110d4773e73"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a9a5d46b2c6d568ee2cdef110d4773e73">add</a> (const <a class="el" href="structShipCAD_1_1JPEGImage.html">JPEGImage</a> &amp;img)</td></tr>
<tr class="separator:a9a5d46b2c6d568ee2cdef110d4773e73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab196d459581b5c877ebea2f567e9bda8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#ab196d459581b5c877ebea2f567e9bda8">load</a> (quint8 &amp;val)</td></tr>
<tr class="separator:ab196d459581b5c877ebea2f567e9bda8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb11c583e5d3a7a580e5f88004d6c7e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#afb11c583e5d3a7a580e5f88004d6c7e3">add</a> (quint8 val)</td></tr>
<tr class="separator:afb11c583e5d3a7a580e5f88004d6c7e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1aebcc97e364569934c66eec5a87485"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#ad1aebcc97e364569934c66eec5a87485">load</a> (bool &amp;val)</td></tr>
<tr class="separator:ad1aebcc97e364569934c66eec5a87485"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cb4395eae7ffa405290c3bed9890bee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a7cb4395eae7ffa405290c3bed9890bee">add</a> (bool val)</td></tr>
<tr class="separator:a7cb4395eae7ffa405290c3bed9890bee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a525306d68a017ef67ec13c3e8901a8ff"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a525306d68a017ef67ec13c3e8901a8ff">load</a> (float &amp;val)</td></tr>
<tr class="separator:a525306d68a017ef67ec13c3e8901a8ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7909794ac33ad5f695bb670940db99ba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a7909794ac33ad5f695bb670940db99ba">add</a> (float val)</td></tr>
<tr class="separator:a7909794ac33ad5f695bb670940db99ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7fc82d31f73f0350715fb63db2fc271"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#ad7fc82d31f73f0350715fb63db2fc271">load</a> (qint32 &amp;val)</td></tr>
<tr class="separator:ad7fc82d31f73f0350715fb63db2fc271"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5ff9b7299df09feb365250c69e6da9a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#ad5ff9b7299df09feb365250c69e6da9a">add</a> (qint32 val)</td></tr>
<tr class="separator:ad5ff9b7299df09feb365250c69e6da9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19fcd1363671552150de3d6ee3297f2c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a19fcd1363671552150de3d6ee3297f2c">load</a> (quint32 &amp;val)</td></tr>
<tr class="separator:a19fcd1363671552150de3d6ee3297f2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dd1963dd35caff15333f21cc2195b34"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a1dd1963dd35caff15333f21cc2195b34">add</a> (quint32 val)</td></tr>
<tr class="separator:a1dd1963dd35caff15333f21cc2195b34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa22983fa24559f6d0d119d89036100af"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#aa22983fa24559f6d0d119d89036100af">add</a> (size_t val)</td></tr>
<tr class="memdesc:aa22983fa24559f6d0d119d89036100af"><td class="mdescLeft">&#160;</td><td class="mdescRight">save value, (check that it fits in 32 bits)  <a href="#aa22983fa24559f6d0d119d89036100af">More...</a><br /></td></tr>
<tr class="separator:aa22983fa24559f6d0d119d89036100af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7255342a053689ebafda9317cc586c57"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a7255342a053689ebafda9317cc586c57">load</a> (QVector3D &amp;val)</td></tr>
<tr class="separator:a7255342a053689ebafda9317cc586c57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0642733d14682981c12f6aeaef9bb884"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a0642733d14682981c12f6aeaef9bb884">add</a> (const QVector3D &amp;val)</td></tr>
<tr class="separator:a0642733d14682981c12f6aeaef9bb884"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3329cf81740c79967acc24bc0ac3c9a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a3329cf81740c79967acc24bc0ac3c9a3">load</a> (QColor &amp;val)</td></tr>
<tr class="separator:a3329cf81740c79967acc24bc0ac3c9a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3611327a77cc938e987ecda018d0d936"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a3611327a77cc938e987ecda018d0d936">add</a> (const QColor &amp;val)</td></tr>
<tr class="separator:a3611327a77cc938e987ecda018d0d936"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82c790d09c8e85c0f9d218efd9c93605"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a82c790d09c8e85c0f9d218efd9c93605">load</a> (QString &amp;val)</td></tr>
<tr class="separator:a82c790d09c8e85c0f9d218efd9c93605"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea305be34bc316cc5b849fb291499012"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#aea305be34bc316cc5b849fb291499012">add</a> (const QString &amp;val)</td></tr>
<tr class="separator:aea305be34bc316cc5b849fb291499012"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab266512b0703e4e62a32cbbcc4dd7050"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#ab266512b0703e4e62a32cbbcc4dd7050">add</a> (const char *str)</td></tr>
<tr class="separator:ab266512b0703e4e62a32cbbcc4dd7050"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ae77da0ea26a1ed6de262ff7f3d606f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a4ae77da0ea26a1ed6de262ff7f3d606f">load</a> (<a class="el" href="classShipCAD_1_1Plane.html">Plane</a> &amp;val)</td></tr>
<tr class="separator:a4ae77da0ea26a1ed6de262ff7f3d606f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae947c5bac13749a8b0d833bfa7979d0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#ae947c5bac13749a8b0d833bfa7979d0d">add</a> (const <a class="el" href="classShipCAD_1_1Plane.html">Plane</a> &amp;val)</td></tr>
<tr class="separator:ae947c5bac13749a8b0d833bfa7979d0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfa1ad9b776baa948d1724bd56b4e18d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#acfa1ad9b776baa948d1724bd56b4e18d">load</a> (<a class="el" href="structShipCAD_1_1DelftSeriesResistance.html">DelftSeriesResistance</a> *buf)</td></tr>
<tr class="separator:acfa1ad9b776baa948d1724bd56b4e18d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63b2793d04b55d67ef7a307e664b3416"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a63b2793d04b55d67ef7a307e664b3416">add</a> (const <a class="el" href="structShipCAD_1_1DelftSeriesResistance.html">DelftSeriesResistance</a> *buf)</td></tr>
<tr class="separator:a63b2793d04b55d67ef7a307e664b3416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec2753a3f1fb3aab1303a8dfde26bb1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#aec2753a3f1fb3aab1303a8dfde26bb1c">load</a> (<a class="el" href="structShipCAD_1_1KAPERResistance.html">KAPERResistance</a> *buf)</td></tr>
<tr class="separator:aec2753a3f1fb3aab1303a8dfde26bb1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1189100c2022918351d730590d107c33"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1FileBuffer.html#a1189100c2022918351d730590d107c33">add</a> (const <a class="el" href="structShipCAD_1_1KAPERResistance.html">KAPERResistance</a> *buf)</td></tr>
<tr class="separator:a1189100c2022918351d730590d107c33"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>in-memory buffer for a binary file (FREE!Ship format) </p>

<p>Definition at line <a class="el" href="filebuffer_8h_source.html#l00052">52</a> of file <a class="el" href="filebuffer_8h_source.html">filebuffer.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab243cfcb8a68ce791103594e974ee9ba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">FileBuffer::FileBuffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00052">52</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a397c9a755598f9939eb30460b605d44c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ShipCAD::FileBuffer::~FileBuffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8h_source.html#l00058">58</a> of file <a class="el" href="filebuffer_8h_source.html">filebuffer.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a9a5d46b2c6d568ee2cdef110d4773e73"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structShipCAD_1_1JPEGImage.html">JPEGImage</a> &amp;&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00108">108</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afb11c583e5d3a7a580e5f88004d6c7e3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">quint8&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00123">123</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7cb4395eae7ffa405290c3bed9890bee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00136">136</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7909794ac33ad5f695bb670940db99ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00150">150</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad5ff9b7299df09feb365250c69e6da9a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">qint32&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00167">167</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1dd1963dd35caff15333f21cc2195b34"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">quint32&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00184">184</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa22983fa24559f6d0d119d89036100af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>save value, (check that it fits in 32 bits) </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">val</td><td>integer to save </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">range_error</td><td>if val is greater than 32bit unsigned </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00193">193</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0642733d14682981c12f6aeaef9bb884"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00237">237</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3611327a77cc938e987ecda018d0d936"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">const QColor &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00204">204</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aea305be34bc316cc5b849fb291499012"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00266">266</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab266512b0703e4e62a32cbbcc4dd7050"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00278">278</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae947c5bac13749a8b0d833bfa7979d0d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classShipCAD_1_1Plane.html">Plane</a> &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00309">309</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a63b2793d04b55d67ef7a307e664b3416"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structShipCAD_1_1DelftSeriesResistance.html">DelftSeriesResistance</a> *&#160;</td>
          <td class="paramname"><em>buf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00334">334</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1189100c2022918351d730590d107c33"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::add </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structShipCAD_1_1KAPERResistance.html">KAPERResistance</a> *&#160;</td>
          <td class="paramname"><em>buf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00349">349</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a06f87b30f5fd091cc5c270964ea16770"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceShipCAD.html#af3a6fa23a7318acbda7b0066b53d694f">version_t</a> ShipCAD::FileBuffer::getVersion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8h_source.html#l00064">64</a> of file <a class="el" href="filebuffer_8h_source.html">filebuffer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a86223c54bcf111ef205c9d651e0b9a66"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::load </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structShipCAD_1_1JPEGImage.html">JPEGImage</a> &amp;&#160;</td>
          <td class="paramname"><em>img</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00096">96</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab196d459581b5c877ebea2f567e9bda8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::load </td>
          <td>(</td>
          <td class="paramtype">quint8 &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00117">117</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad1aebcc97e364569934c66eec5a87485"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::load </td>
          <td>(</td>
          <td class="paramtype">bool &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00128">128</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a525306d68a017ef67ec13c3e8901a8ff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::load </td>
          <td>(</td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00141">141</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad7fc82d31f73f0350715fb63db2fc271"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::load </td>
          <td>(</td>
          <td class="paramtype">qint32 &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00158">158</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a19fcd1363671552150de3d6ee3297f2c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::load </td>
          <td>(</td>
          <td class="paramtype">quint32 &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00175">175</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7255342a053689ebafda9317cc586c57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::load </td>
          <td>(</td>
          <td class="paramtype">QVector3D &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00222">222</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3329cf81740c79967acc24bc0ac3c9a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::load </td>
          <td>(</td>
          <td class="paramtype">QColor &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00212">212</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a82c790d09c8e85c0f9d218efd9c93605"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::load </td>
          <td>(</td>
          <td class="paramtype">QString &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00251">251</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4ae77da0ea26a1ed6de262ff7f3d606f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::load </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classShipCAD_1_1Plane.html">Plane</a> &amp;&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00291">291</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acfa1ad9b776baa948d1724bd56b4e18d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::load </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structShipCAD_1_1DelftSeriesResistance.html">DelftSeriesResistance</a> *&#160;</td>
          <td class="paramname"><em>buf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00326">326</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aec2753a3f1fb3aab1303a8dfde26bb1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::load </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structShipCAD_1_1KAPERResistance.html">KAPERResistance</a> *&#160;</td>
          <td class="paramname"><em>buf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00341">341</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afe2a6e56770eed6bf9df894baa28c9fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::loadFromFile </td>
          <td>(</td>
          <td class="paramtype">QFile &amp;&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00068">68</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7feeac3f68df96065a3238cbca9a5151"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t ShipCAD::FileBuffer::pos </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8h_source.html#l00061">61</a> of file <a class="el" href="filebuffer_8h_source.html">filebuffer.h</a>.</p>

</div>
</div>
<a class="anchor" id="af59c26297994b38aabc4bc678d04c246"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00058">58</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="adcc7e54a07f39ad930df82da9c3c70fd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::saveToFile </td>
          <td>(</td>
          <td class="paramtype">QFile &amp;&#160;</td>
          <td class="paramname"><em>file</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00085">85</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a66c14f8f21b9f77febd154aee9565f0b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FileBuffer::setVersion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceShipCAD.html#af3a6fa23a7318acbda7b0066b53d694f">version_t</a>&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8cpp_source.html#l00063">63</a> of file <a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a51dc1007457d999ce374afd6a6ae29f8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t ShipCAD::FileBuffer::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="filebuffer_8h_source.html#l00060">60</a> of file <a class="el" href="filebuffer_8h_source.html">filebuffer.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>ShipCADlib/<a class="el" href="filebuffer_8h_source.html">filebuffer.h</a></li>
<li>ShipCADlib/<a class="el" href="filebuffer_8cpp_source.html">filebuffer.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:36:00 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
